<script setup>
defineProps({
  page: {
    type: Number,
    default: 1
  },
  pageSize: {
    type: Number,
    default: 10
  }
})
</script>

<template>
  <el-table-column
    type="index"
    label="序号"
    width="60"
    :index="index => (page - 1) * pageSize + index + 1"
    v-bind="$attrs"
  />
</template>
